// JavaScript Document 11.2011 - Tienng
var cid="first";
function lookupTollShow(id){
	var prev_obj = document.getElementById("item_" + cid);
	var obj = document.getElementById("item_" + id);
	if(prev_obj){
		prev_obj.style.display = "none";
	}
	document.getElementById("tab_" + cid).className = "lookup_tool_unselect";
	if(obj){
		obj.style.display = "block";
		cid = id;
	}
	document.getElementById("tab_" + id).className = "lookup_tool_select";
}
var current_scp_index="1";
function ShowItemSavingIndex(id){
	var prev_obj = document.getElementById("item_" + current_scp_index);
	var obj = document.getElementById("item_" + id);
	if(prev_obj){
		prev_obj.style.display = "none";
	}
	document.getElementById("tab_" + current_scp_index).className = "tab_unselect";
	if(obj){
		obj.style.display = "block";
		current_scp_index = id;
	}
	document.getElementById("tab_" + id).className = "tab_select";
}
function showSlide_pouptest(id,name){
var sParams = "scrollbars=yes,toolbar=no,menubar=no,resizable=yes,location=no,height=670,width=1034,top=20,left=20";
var wname = "ShowSlide_pouptest";
var dest = " /?com=iqtest&ctr=popup&act=test&id=8";
window.open(dest,wname,sParams);
}